#ifndef __MAIN_H
#define __MAIN_H



#include <stm32f10x.h>
#include "stdio.h"
#include "stm32f10x_conf.h"

#include "delay.h"
#include "stm32f10x_it.h"
#include "sys.h"
#include "LCD1602.h"
#include "srf04.h"
#include "avas.h"
#include "motor.h"

#define in_1  PAout(0) 
#define in_2 PAout(1)  
#define in_3 PAout(2)  
#define in_4 PAout(3)  
#define ena PAout(4)
#define enb PAout(5)
#define beep PAout(6)
#define key PAin(8)
#define LED PAout(7)


#define SRF04_PORT				GPIOA
#define SRF04_TR_PIN			GPIO_Pin_11
#define SRF04_ECHO_PIN			GPIO_Pin_12

#endif      


